home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / prog / atari / c / stut_src / vdi_pu.h < prev    next >
C/C++ Source or Header  |  1996-06-05  |  2KB  |  74 lines

  1. /*
  2.  * VDI_Public.h
  3.  *
  4.  * Definitions supplementaires pour le VDI
  5.  *
  6.  * History:
  7.  * --------
  8.  * Created by fplanque
  9.  */
  10.  
  11. /*
  12.  * V‚rifie si les pr‚sentes d‚finitions ont d‚ja ‚t‚ faites:
  13.  */
  14. #ifndef VDIDEF_H
  15. #define VDIDEF_H    0
  16.  
  17. #include "TEXT_PU.H"
  18.  
  19.  
  20. /*
  21.  * VDI text definitions:
  22.  */
  23. #define    HALIGN_LEFT            0        /* Texte justifi‚ … gauche */
  24. #define    HALIGN_CENTER        1        /* Texte centr‚ */
  25. #define    HALIGN_RIGHT        2        /* Texte justifi‚ … droite */
  26.  
  27. #define    VALIGN_BASE            0
  28. #define    VALIGN_HALF            1
  29. #define    VALIGN_ASCENT        2
  30. #define    VALIGN_BOTTOM        3
  31. #define    VALIGN_DESCENT        4
  32. #define    VALIGN_TOP            5
  33.  
  34.  
  35. /*
  36.  * -------- membres publics -------------
  37.  */
  38.  
  39.     /* 
  40.      * G‚n‚ral VDI: 
  41.      */
  42.     extern     int        G_aesws_handle;            /* Handle WStation AES */
  43.     extern    int        G_ws_handle;                /* Handle virtual WorkStation VDI */
  44.     extern    int        G_work_in[];                /* VDI G_work_in */
  45.     extern    int        G_work_out[];            /* VDI work out */
  46.     extern    int       G_pxyarray[];            /* Liste de coord X,Y pour le VDI */
  47.     extern    int        G_pxyarray2[];    
  48.     extern    int        G_cliparray[];
  49.     extern    MFDB        G_plogMFDB;                    /* MFDB pour l'‚cran */
  50.  
  51.     extern    VDI_TEXT_PARAMS    G_std_text;    /* ParamŠtres du texte standard */    
  52.  
  53.     extern    int                    G_cell_size_prop;    /* Rapport Hauteur/Largeur d'un emplacement caractŠre standard */
  54.  
  55.     extern    USERBLK    G_bcroix_ublk;            /* Pour bouton-croix */
  56.  
  57.  
  58.     /* 
  59.      * VDI: 
  60.      */
  61.     extern    void    init_vdi( void );
  62.     extern    void    draw_fantom( int x, int y );    /* Dessine le fant“me d'une ic“ne */
  63.  
  64.     extern    void    rig_draw_fantom( void );    /* Dessine le fant“me d'une ic“ne */
  65.     extern    void    draw_proposition( void );    /* Dessine proposition de placement */
  66.     extern    int    cdecl draw_grid(PARMBLK *parmblock);    /* USERDEF Grille */
  67.     int cdecl bouton_croix(PARMBLK *parmblock);
  68.  
  69.  
  70. /*
  71.  * Fin du test anti red‚finition:
  72.  */
  73. #endif
  74.